<template>
<view v-show="status=='empty'" class="default_icon dis-flex flex-y-center flex-dir-column">
  <image class="image" :src="(defaultIcon==0||defaultIcon=='0')?imgPrefix('/static/image/default_icon.png'):imgPrefix('/static/image/default_image.png')"></image>
  <view class="f_24 gery text">{{text||'暂无任何数据'}}</view>
</view>
</template>

<script>
export default {
  props: ['status', 'text', 'defaultIcon']
}
</script>

<style lang="scss" scoped>
// .default_icon{
// 	width: 100%;
// 	height: 100%;
// 	image{
// 		width: 396rpx;
// 		height: 396rpx;
// 		margin-top: 100rpx;
// 	}
// }
.default_icon {
  padding-top: 100rpx;
  position: relative;

  .image {
    width: 396rpx;
    height: 396rpx;
  }

  .text {
    position: absolute;
    bottom: 95rpx;
  }
}
</style>
